package com.cqc.manage.error.tokenerror;

import lombok.Data;

/**
 * token异常处理父类
 */
public class TokenException extends RuntimeException{

    private int code;

    public TokenException(String code,String message){
        super(message);
    }

    public TokenException(int code,String message){
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
